<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<html>
	<head>
		<title>JSP for DynaActionForm form</title>
	</head>
	<html:javascript formName="loginForm" />
	<body>
		<html:form action="/login" onsubmit="return validateLoginForm(this)">
			username : <html:text property="username" />
			<html:errors property="username" />
			<br />
			<html:hidden property="method" value="login" />
			password : <html:password property="password" />
			<html:errors property="password" />
			<br />

			<html:submit />
			<html:cancel />
		</html:form>
		<br>
		<a href="<c:url value='/input.jsp'/>">请您留言</a>
	</body>
</html>

